﻿using Zt.QmtqDemo.MultiTenancy;
using Volo.Abp.AuditLogging;
using Volo.Abp.BackgroundJobs;
using Volo.Abp.FeatureManagement;
using Volo.Abp.Identity;
using Volo.Abp.IdentityServer;
using Volo.Abp.Modularity;
using Volo.Abp.MultiTenancy;
using Volo.Abp.PermissionManagement.Identity;
using Volo.Abp.PermissionManagement.IdentityServer;
using Volo.Abp.SettingManagement;
using Volo.Abp.TenantManagement;

namespace Zt.QmtqDemo
{
    [DependsOn(
        typeof(QmtqDemoDomainSharedModule),
        typeof(AbpAuditLoggingDomainModule)
        //typeof(AbpBackgroundJobsDomainModule),
        //typeof(AbpFeatureManagementDomainModule),
        //typeof(AbpIdentityDomainModule),
        //typeof(AbpPermissionManagementDomainIdentityModule),
        //typeof(AbpIdentityServerDomainModule),
        //typeof(AbpPermissionManagementDomainIdentityServerModule),
        //typeof(AbpSettingManagementDomainModule),
        //typeof(AbpTenantManagementDomainModule)
        )]
    public class QmtqDemoDomainModule : AbpModule
    {
        public override void ConfigureServices(ServiceConfigurationContext context)
        {
            Configure<AbpMultiTenancyOptions>(options =>
            {
                options.IsEnabled = MultiTenancyConsts.IsEnabled;
            });
        }
    }
}
